package ooday02;

public class Teacher1 extends Person1{
    Teacher1(String name,int age,String address){
        super(name,age,address);
        double salary;
    }
    void teach(){
        System.out.println(name+"教书");
    }
}
